//
//  FirstScreen.h
//  FleaFinder
//
//  Created by Hieu Le on 4/8/13.
//  Copyright (c) 2013 Kiwiweb. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MarketType.h"
//#import "MarkedTypeViewController.h"
//#import "MarkedSummaryListViewController.h"
#import "AppDelegate.h"

@interface FirstScreen : UIViewController<UICollectionViewDataSource, UICollectionViewDelegate>
{
    AppDelegate *appDelegate;
    //NSMutableArray *marketTypeList;
    
    //NSString *linkToMarkedTypeList;
    //NSString *linkToCategoryList;
    //NSString *linkViewAlle;
    
    UIFont *font;
    UIColor *commonColor;
    //UIColor *commonColor;
    
//    MarkedTypeViewController* markedTypeViewController;
//    MarkedSummaryListViewController *markedSummaryListViewController;
}

/*@property (weak, nonatomic) IBOutlet UIView *btnLoppeMarked;
@property (weak, nonatomic) IBOutlet UIView *btnVejLoppeMarked;
@property (weak, nonatomic) IBOutlet UIView *btnEvents;
@property (weak, nonatomic) IBOutlet UIView *btnLejlighedssalg;
@property (weak, nonatomic) IBOutlet UIView *btnKraemmerMarked;
@property (weak, nonatomic) IBOutlet UIView *btnGarage;*/
@property (weak, nonatomic) IBOutlet UIButton *btnVisAlle;
@property (weak, nonatomic) IBOutlet UICollectionView *markedTypeListView;

-(void) showCategoryListForMarket: (MarketType*) markedType;

/*-(IBAction)showLoppeMarked:(id)sender;

-(IBAction)showLejlighedssalgMarked:(id)sender;

-(IBAction)showEventsLagersalg:(id)sender;

-(IBAction)showVejLoppeMarked:(id)sender;

-(IBAction)showKraemmerMarked:(id)sender;

-(IBAction)showGarage:(id)sender;
*/
-(IBAction)showAllMarked:(id)sender;

-(void) loadXmlData: (NSString*) sourceUrl;

-(void)buttonAction:(UIButton*)button;

@end
